package com.milkshopbackend.milkshop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("order_payment")
public class OrderPayment {

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long orderId;
    private String paymentNo;
    private Integer paymentMethod;
    private BigDecimal paymentAmount;
    private Integer paymentStatus;
    private LocalDateTime paymentTime;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
